import React from 'react';
import RcPagination from 'rc-pagination';
import 'rc-pagination/assets/index.css';

//通用分页组件

class Pagination extends React.Component{
    render(){
        return(
            <div className='row'>
                <div className='col-md-12'>
                    <RcPagination {...this.props}
                    hideOnSinglePage
                    showQuickJumper
                    />
                </div>
            </div>
        )
    }
}

export default Pagination;